<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>{$tpshop_config['shop_info_store_title']}</title>
<meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
</head>

<body>
<include file="Public/header" />
<include file="Public/topnav" />

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius">
      <div class="page_padin">
        <div class="sform_page">
          <div class="sform_tit">
            <p>简单填写资料后，我们的卖家服务顾问会尽快和您联系</p>
            <p>您也可以直接联系我们的销售顾问进行挂店</p>
          </div>
          <div class="sform_page2">
            <form action="{:U('Home/Index/sub_need')}" method="post" onsubmit="return ifinform(this)">
            <input type="hidden" name="xtype" value="2" />
            <input type="hidden" id="selltype" name="selltype" value="3" />
            <div class="selltype">
              <div class="tit">请选择您的店铺出售类型：</div>
              <div class="gcheckbox gcheckbox_on" onclick="gchecked(this,'3','#selltype')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">天猫店</div>
                <div class="clear"></div>
              </div>
              <div class="gcheckbox" onclick="gchecked(this,'5','#selltype')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">京东</div>
                <div class="clear"></div>
              </div>
              <div class="gcheckbox gcheckbox_last" onclick="gchecked(this,'4','#selltype')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">淘宝店</div>
                <div class="clear"></div>
              </div>
              <div class="clear"></div>
            </div><!--selltype-->
            <div class="ginput_div ginput_div_icon"><i class="icon-yonghu"></i><input class="ginput" type="text" name="name" id="name" placeholder="请输入您的姓名" maxlength="11" /></div>
            <div class="ginput_div ginput_div_icon"><i class="icon-shouji1"></i><input class="ginput" type="text" name="mobile" id="mobile" placeholder="请输入您的常用手机号" /></div>
            <div class="ginput_div ginput_div_icon"><i class="icon-qq"></i><input class="ginput" type="text" name="qqnum" id="qqnum" placeholder="请输入您的常用QQ" /></div>
            <div class="ginput_div ginput_div_icon"><i class="icon-dianpu"></i><textarea class="ginput gtext" type="text" name="content" id="content" placeholder="请填写您希望出售的网店链接的首页或旺旺名（必填）"></textarea></div>
            <div class="sform_div"><div class="ginput_div"><button type="submit" class="login_sub">立即提交</button></div></div>
            </form>
          </div><!--sform_page2-->
        </div><!--regpage-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->
<script>

    function ifinform() {


        var mobile =$('#mobile').val();
        var name =$('#name').val();
        var qqnum =$('#qqnum').val();
        var content =$('#content').val();
        if(!name)
        {
            layer.tips('姓名不能为空', '#name', {tips: [1, '#f39800']});
            return false;
        }

        if(mobile.length<11)
        {
            layer.tips('手机号码有误', '#mobile', {tips: [1, '#f39800']});
            return false;
        }

        if(!qqnum)
        {
            layer.tips('QQ不能为空', '#qqnum', {tips: [1, '#f39800']});
            return false;
        }
        if(!content)
        {
            layer.tips('描述不能为空', '#content', {tips: [1, '#f39800']});
            return false;
        }

    }

</script>


<include file="Public/footer" />

</body>
</html>
